/**
 * 
 */
package com.lgf.extdemo.dao;

import java.util.ArrayList;
import java.util.List;

import com.lgf.extdemo.pojo.Demo;

/**
 * @author rj
 *
 */
public class DemoDataDao {

	/**
	 * @author ; rj
	 * @CreateDate ; Sep 7, 2012 11:31:22 AM
	 * @lastModified ; Sep 7, 2012 11:31:22 AM
	 * @version ; 1.0
	 * @param resourceid
	 * @return
	 */
	   
	public List<Demo> getDemoById(int resourceid) {
		//8
		List<Demo> list = new ArrayList<Demo>();
		
		// 树的添加
		list.add(new Demo(1,0,"<span style='font-size:15px'>树</span>",null,"icon-tree"));
		list.add(new Demo(10,1,"<span style='font-size:15px'>下拉树</span>","ext3.4Demo/tree/test/test.jsp","icon-tree"));
		list.add(new Demo(11,1,"<span style='font-size:15px'>文本树</span>","ext3.4Demo/tree/test/test.jsp","icon-tree"));
		list.add(new Demo(11,1,"<span style='font-size:15px'>ComboTree</span>","ext3.4Demo/tree/comboTree/comboboxTree.jsp","icon-tree"));
		
		// 表格的添加
		list.add(new Demo(2,0,"<span style='font-size:15px'>表格</span>",null,"test"));
		list.add(new Demo(20,2,"<span style='font-size:15px'>普通表格</span>","ext3.4Demo/tree/test/test.jsp","test"));
		list.add(new Demo(21,2,"<span style='font-size:15px'>可编辑表格</span>","ext3.4Demo/tree/test/test.jsp","test"));
		
		// 表单添加
		list.add(new Demo(3,0,"<span style='font-size:15px'>From</span>",null,"icon-form"));
		list.add(new Demo(31,3,"<span style='font-size:15px'>NormalFrom</span>","ext3.4Demo/form/normal/normal.jsp","icon-form"));
		list.add(new Demo(32,3,"<span style='font-size:15px'>Combobox</span>","ext3.4Demo/tree/test/test.jsp","icon-form"));
		return list;
	}

}
